package cate.game.world;

import cate.game.GameBody;
import cate.game.framework.ModuleMan;
import cate.game.role.Role;
import cate.game.world.beta.BetaPayManager;
import cate.game.world.giftcode.GiftCodeManager;
import cp.solution.business.sys.account.AccountEntity;

/** 世界服业务管理模块 */
public class WorldManager extends ModuleMan {

    public GiftCodeManager giftCode = new GiftCodeManager();
    public BetaPayManager betaPay = new BetaPayManager();

    @Override
    public void initIndependent(GameBody game) throws Exception {
        super.initIndependent(game);
        giftCode.initIndependent(game);
        betaPay.initIndependent(game);
    }

    @Override
    public void initDependent() throws Exception {
        giftCode.initDependent();
        betaPay.initDependent();
    }

    public void tick() {
        giftCode.tick();
        betaPay.tick();
    }

}
